package cn.lijiajia3515.cairo.auth.modules.role;

import cn.lijiajia3515.cairo.core.page.Page;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface RoleInterface {

	@PostMapping("/find")
	List<Role> find(@RequestBody FindRoleParam param);

	@PostMapping("/find/page")
	Page<Role> findPage(@RequestBody FindRoleParam param);
}
